<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>车辆检测流程 - 白色主题预览</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #f8f9fa;
            min-height: 100vh;
        }

        .container {
            background-color: #f8f9fa;
            min-height: 100vh;
            padding-bottom: 100px;
        }

        /* 顶部导航栏 */
        .nav-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            background-color: #ffffff;
            border-bottom: 1px solid #e9ecef;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .nav-back {
            width: 40px;
            height: 40px;
            border-radius: 20px;
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e9ecef;
        }

        .nav-title {
            font-size: 18px;
            font-weight: bold;
            color: #212529;
        }

        /* 车辆信息卡片 */
        .vehicle-card {
            margin: 20px;
            background-color: #ffffff;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            border: 1px solid #e9ecef;
        }

        .card-header {
            display: flex;
            align-items: center;
            margin-bottom: 16px;
        }

        .card-title {
            font-size: 18px;
            font-weight: bold;
            color: #212529;
            margin-left: 12px;
        }

        .info-grid {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .info-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            background-color: #f8f9fa;
            border-radius: 8px;
            border-left: 4px solid #007bff;
        }

        .info-label {
            font-size: 14px;
            color: #6c757d;
            font-weight: 500;
        }

        .info-value {
            font-size: 14px;
            color: #212529;
            font-weight: bold;
        }

        /* 检测流程卡片 */
        .progress-card {
            margin: 0 20px 20px 20px;
            background-color: #ffffff;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            border: 1px solid #e9ecef;
        }

        .flow-title {
            font-size: 18px;
            font-weight: bold;
            color: #212529;
            margin-bottom: 20px;
        }

        /* 步骤样式 */
        .step-item {
            display: flex;
            margin-bottom: 24px;
            position: relative;
        }

        .step-circle {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 3px solid;
            margin-right: 16px;
            font-size: 18px;
            font-weight: bold;
        }

        .step-circle.completed {
            background-color: #28a745;
            border-color: #28a745;
            color: #fff;
        }

        .step-circle.current {
            background-color: #007bff;
            border-color: #007bff;
            color: #fff;
        }

        .step-circle.pending {
            background-color: #f8f9fa;
            border-color: #dee2e6;
            color: #6c757d;
        }

        .step-content {
            flex: 1;
            padding-top: 4px;
        }

        .step-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .step-title {
            font-size: 16px;
            font-weight: bold;
            color: #212529;
        }

        .step-title.current {
            color: #007bff;
        }

        .step-status-badge {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .step-status-badge.completed {
            background-color: #d4edda;
            color: #155724;
        }

        .step-status-badge.current {
            background-color: #cce7ff;
            color: #004085;
        }

        .step-time {
            font-size: 13px;
            color: #28a745;
            margin-bottom: 4px;
        }

        .step-desc {
            font-size: 13px;
            color: #6c757d;
            line-height: 1.4;
        }

        /* 底部操作按钮 */
        .action-bar {
            padding: 20px;
            background-color: #ffffff;
            border-top: 1px solid #e9ecef;
            box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            box-sizing: border-box;
        }

        .action-btn {
            width: 100%;
            height: 48px;
            border-radius: 8px;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 16px;
            font-weight: 600;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            margin: 0;
            padding: 0;
        }

        .btn-secondary {
            background-color: #f8f9fa;
            color: #6c757d;
            border: 1px solid #dee2e6;
        }

        .btn-primary {
            background-color: #007bff;
            color: #fff;
        }



        .action-btn:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        .action-btn:active {
            transform: scale(0.98);
            opacity: 0.8;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 顶部导航栏 -->
        <div class="nav-bar">
            <div class="nav-back">
                <span>←</span>
            </div>
            <div class="nav-title">车辆检测流程</div>
            <div style="width: 40px;"></div>
        </div>

        <!-- 车辆信息卡片 -->
        <div class="vehicle-card">
            <div class="card-header">
                <span style="font-size: 24px;">🚗</span>
                <div class="card-title">车辆检测流程</div>
            </div>
            <div class="info-grid">
                <div class="info-item">
                    <span class="info-label">车牌号码</span>
                    <span class="info-value">渝A66666</span>
                </div>
                <div class="info-item">
                    <span class="info-label">车辆类型</span>
                    <span class="info-value">小型汽车</span>
                </div>
                <div class="info-item">
                    <span class="info-label">检测时间</span>
                    <span class="info-value">2025年08月10日 19:03</span>
                </div>
            </div>
        </div>

        <!-- 检测流程进度卡片 -->
        <div class="progress-card">
            <div class="flow-title">📋 检测流程进度</div>
            
            <!-- 车辆入园 - 已完成 -->
            <div class="step-item">
                <div class="step-circle completed">✓</div>
                <div class="step-content">
                    <div class="step-header">
                        <div class="step-title">车辆入园</div>
                        <div class="step-status-badge completed">已完成</div>
                    </div>
                    <div class="step-time">⏰ 时间：10:30:12</div>
                    <div class="step-desc">车辆登记并进入检测</div>
                </div>
            </div>

            <!-- 外观检查 - 已完成 -->
            <div class="step-item">
                <div class="step-circle completed">✓</div>
                <div class="step-content">
                    <div class="step-header">
                        <div class="step-title">外观检查</div>
                        <div class="step-status-badge completed">已完成</div>
                    </div>
                    <div class="step-time">⏰ 时间：10:40:12</div>
                    <div class="step-desc">车辆登记并进入检测</div>
                </div>
            </div>

            <!-- 尾气检测 - 进行中 -->
            <div class="step-item">
                <div class="step-circle current">3</div>
                <div class="step-content">
                    <div class="step-header">
                        <div class="step-title current">尾气检测</div>
                        <div class="step-status-badge current">进行中</div>
                    </div>
                    <div class="step-desc">正在进行尾气排放检测...</div>
                </div>
            </div>
        </div>

        <!-- 底部操作按钮 -->
        <div class="action-bar">
            <button class="action-btn btn-primary" onclick="payNow()">
                💳 立即付款
            </button>
        </div>
    </div>

    <script>
        function payNow() {
            alert('跳转到支付页面');
        }

        function goBack() {
            alert('返回上一页');
        }
    </script>
</body>
</html>
